<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.typehandlers.codesink.FileCodeSink</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.typehandlers-module.html">Package&nbsp;typehandlers</a> ::
        <a href="pybindgen.typehandlers.codesink-module.html">Module&nbsp;codesink</a> ::
        Class&nbsp;FileCodeSink
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.typehandlers.codesink.FileCodeSink-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class FileCodeSink</h1><p class="nomargin-top"><span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#FileCodeSink">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_pybindge_97" name="uml_class_diagram_for_pybindge_97">
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#__init__" title="Keyword Arguments: file_ &#45;&#45; a file like object" alt="" coords="20,129,132,148"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#__repr__" title="repr(x)" alt="" coords="20,148,132,167"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#writeln" title="Write one or more lines of code" alt="" coords="20,167,132,185"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html" title="A code sink that writes to a file&#45;like object" alt="" coords="19,104,133,187"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#indent" title="Add a certain ammount of indentation to all lines written from now on and &#160;until unindent() is called" alt="" coords="17,36,135,55"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#unindent" title="Revert indentation level to the value before last indent() call" alt="" coords="17,55,135,73"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html" title="Abstract base class for code sinks" alt="" coords="16,11,136,75"/>
</map>
  <img src="uml_class_diagram_for_pybindge_97.gif" alt='' usemap="#uml_class_diagram_for_pybindge_97" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>A code sink that writes to a file-like object</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">file_</span>)</span><br />
      Keyword Arguments: file_ -- a file like object</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#FileCodeSink.__init__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___69-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___init___69-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___69" name="call_graph_for___init___69">
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#__init__" title="CodeSink.__init__()" alt="" coords="160,5,357,37"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#__init__" title="__init__()" alt="" coords="7,5,111,37"/>
</map>
  <img src="call_graph_for___init___69.gif" alt='' usemap="#call_graph_for___init___69" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      repr(x)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#FileCodeSink.__repr__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#writeln" class="summary-sig-name">writeln</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">line</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span><br />
      Write one or more lines of code</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#FileCodeSink.writeln">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_writeln_2-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_writeln_2-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_writeln_2" name="call_graph_for_writeln_2">
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_container_constructor" title="container.Container._generate_container_constructor()" alt="" coords="97,31,623,63"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#writeln" title="writeln()" alt="" coords="763,1487,864,1519"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_destructor" title="container.Container._generate_destructor()" alt="" coords="151,87,569,119"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_gc_methods" title="container.Container._generate_gc_methods()" alt="" coords="144,143,576,175"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_iter_methods" title="container.Container._generate_iter_methods()" alt="" coords="137,199,583,231"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="container.Container.generate_forward_declarations()" alt="" coords="107,255,613,287"/>
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html#generate" title="container.IterNextWrapper.generate()" alt="" coords="176,311,544,343"/>
<area shape="rect" href="pybindgen.converter_functions.CToPythonConverter-class.html#generate" title="converter_functions.CToPythonConverter.generate()" alt="" coords="108,367,612,399"/>
<area shape="rect" href="pybindgen.converter_functions.PythonToCConverter-class.html#generate" title="converter_functions.PythonToCConverter.generate()" alt="" coords="108,423,612,455"/>
<area shape="rect" href="pybindgen.cppattribute.CppInstanceAttributeGetter-class.html#generate" title="cppattribute.CppInstanceAttributeGetter.generate()" alt="" coords="111,479,609,511"/>
<area shape="rect" href="pybindgen.cppattribute.CppInstanceAttributeSetter-class.html#generate" title="cppattribute.CppInstanceAttributeSetter.generate()" alt="" coords="112,535,608,567"/>
<area shape="rect" href="pybindgen.cppattribute.CppStaticAttributeGetter-class.html#generate" title="cppattribute.CppStaticAttributeGetter.generate()" alt="" coords="123,591,597,623"/>
<area shape="rect" href="pybindgen.cppattribute.CppStaticAttributeSetter-class.html#generate" title="cppattribute.CppStaticAttributeSetter.generate()" alt="" coords="124,647,596,679"/>
<area shape="rect" href="pybindgen.cppattribute.PyGetSetDef-class.html#generate" title="cppattribute.PyGetSetDef.generate()" alt="" coords="179,703,541,735"/>
<area shape="rect" href="pybindgen.cppattribute.PyMetaclass-class.html#generate" title="cppattribute.PyMetaclass.generate()" alt="" coords="183,759,537,791"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_constructor" title="cppclass.CppClass._generate_constructor()" alt="" coords="155,815,565,847"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_copy_method" title="cppclass.CppClass._generate_copy_method()" alt="" coords="147,871,573,903"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_destructor" title="cppclass.CppClass._generate_destructor()" alt="" coords="160,927,560,959"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_gc_methods" title="cppclass.CppClass._generate_gc_methods()" alt="" coords="152,983,568,1015"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_methods" title="cppclass.CppClass._generate_methods()" alt="" coords="168,1039,552,1071"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_str" title="cppclass.CppClass._generate_str()" alt="" coords="195,1095,525,1127"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_tp_richcompare" title="cppclass.CppClass._generate_tp_richcompare()" alt="" coords="136,1151,584,1183"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_typeid_map" title="cppclass.CppClass._generate_typeid_map()" alt="" coords="155,1207,565,1239"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#generate" title="cppclass.CppClass.generate()" alt="" coords="217,1263,503,1295"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#generate_forward_declarations" title="cppclass.CppClass.generate_forward_declarations()" alt="" coords="116,1319,604,1351"/>
<area shape="rect" href="pybindgen.cppclass.CppHelperClass-class.html#generate" title="cppclass.CppHelperClass.generate()" alt="" coords="187,1375,533,1407"/>
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html#generate" title="cppmethod.CppConstructor.generate()" alt="" coords="173,1431,547,1463"/>
<area shape="rect" href="pybindgen.cppmethod.CppNoConstructor-class.html#generate" title="cppmethod.CppNoConstructor.generate()" alt="" coords="161,1487,559,1519"/>
<area shape="rect" href="pybindgen.cppmethod.CustomCppMethodWrapper-class.html#generate" title="cppmethod.CustomCppMethodWrapper.generate()" alt="" coords="119,1543,601,1575"/>
<area shape="rect" href="pybindgen.function.CustomFunctionWrapper-class.html#generate" title="function.CustomFunctionWrapper.generate()" alt="" coords="144,1599,576,1631"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_register_container" title="gccxmlparser.ModuleParser._register_container()" alt="" coords="128,1655,592,1687"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_class_methods" title="gccxmlparser.ModuleParser._scan_class_methods()" alt="" coords="120,1711,600,1743"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_functions" title="gccxmlparser.ModuleParser._scan_namespace_functions()" alt="" coords="88,1767,632,1799"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="105,1823,615,1855"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#parse_finalize" title="gccxmlparser.ModuleParser.parse_finalize()" alt="" coords="153,1879,567,1911"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#parse_init" title="gccxmlparser.ModuleParser.parse_init()" alt="" coords="172,1935,548,1967"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#scan_functions" title="gccxmlparser.ModuleParser.scan_functions()" alt="" coords="149,1991,571,2023"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#scan_methods" title="gccxmlparser.ModuleParser.scan_methods()" alt="" coords="152,2047,568,2079"/>
<area shape="rect" href="pybindgen.module.Module-class.html#generate_c_to_python_type_converter" title="module.Module.generate_c_to_python_type_converter()" alt="" coords="92,2103,628,2135"/>
<area shape="rect" href="pybindgen.module.Module-class.html#generate_python_to_c_type_converter" title="module.Module.generate_python_to_c_type_converter()" alt="" coords="92,2159,628,2191"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#do_generate" title="module.ModuleBase.do_generate()" alt="" coords="191,2215,529,2247"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#generate_forward_declarations" title="module.ModuleBase.generate_forward_declarations()" alt="" coords="105,2271,615,2303"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate" title="overloading.OverloadedWrapper.generate()" alt="" coords="151,2327,569,2359"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate_declaration" title="overloading.OverloadedWrapper.generate_declaration()" alt="" coords="95,2383,625,2415"/>
<area shape="rect" href="pybindgen.pytypeobject.PyNumberMethods-class.html#generate" title="pytypeobject.PyNumberMethods.generate()" alt="" coords="149,2439,571,2471"/>
<area shape="rect" href="pybindgen.pytypeobject.PySequenceMethods-class.html#generate" title="pytypeobject.PySequenceMethods.generate()" alt="" coords="141,2495,579,2527"/>
<area shape="rect" href="pybindgen.pytypeobject.PyTypeObject-class.html#generate" title="pytypeobject.PyTypeObject.generate()" alt="" coords="175,2551,545,2583"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_close_wrapper" title="base.ForwardWrapperBase.write_close_wrapper()" alt="" coords="120,2607,600,2639"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_open_wrapper" title="base.ForwardWrapperBase.write_open_wrapper()" alt="" coords="120,2663,600,2695"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="base.ReverseWrapperBase.generate()" alt="" coords="176,2719,544,2751"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#_format_code" title="CodeSink._format_code()" alt="" coords="912,1487,1163,1519"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#flush_to" title="MemoryCodeSink.flush_to()" alt="" coords="223,2775,497,2807"/>
<area shape="rect" href="pybindgen.utils-module.html#write_preamble" title="utils.write_preamble()" alt="" coords="248,2831,472,2863"/>
<area shape="rect" href="pybindgen.wrapper_registry.StdMapWrapperRegistry-class.html#generate" title="wrapper_registry.StdMapWrapperRegistry.generate()" alt="" coords="108,2887,612,2919"/>
<area shape="rect" href="pybindgen.wrapper_registry.StdMapWrapperRegistry-class.html#generate_forward_declarations" title="wrapper_registry.StdMapWrapperRegistry.generate_forward_declarations()" alt="" coords="7,2943,713,2975"/>
</map>
  <img src="call_graph_for_writeln_2.gif" alt='' usemap="#call_graph_for_writeln_2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.codesink.CodeSink-class.html">CodeSink</a></code></b>:
      <code><a href="pybindgen.typehandlers.codesink.CodeSink-class.html#indent">indent</a></code>,
      <code><a href="pybindgen.typehandlers.codesink.CodeSink-class.html#unindent">unindent</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">file_</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#FileCodeSink.__init__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___69-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for___init___69-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___69" name="call_graph_for___init___69">
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#__init__" title="CodeSink.__init__()" alt="" coords="160,5,357,37"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#__init__" title="__init__()" alt="" coords="7,5,111,37"/>
</map>
  <img src="call_graph_for___init___69.gif" alt='' usemap="#call_graph_for___init___69" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Keyword Arguments: file_ -- a file like object</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="__repr__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Representation operator)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#FileCodeSink.__repr__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>repr(x)</p>
  <dl class="fields">
    <dt>Overrides:
        object.__repr__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="writeln"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">writeln</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">line</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#FileCodeSink.writeln">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_writeln_2-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_writeln_2-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_writeln_2" name="call_graph_for_writeln_2">
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_container_constructor" title="container.Container._generate_container_constructor()" alt="" coords="97,31,623,63"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.FileCodeSink-class.html#writeln" title="writeln()" alt="" coords="763,1487,864,1519"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_destructor" title="container.Container._generate_destructor()" alt="" coords="151,87,569,119"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_gc_methods" title="container.Container._generate_gc_methods()" alt="" coords="144,143,576,175"/>
<area shape="rect" href="pybindgen.container.Container-class.html#_generate_iter_methods" title="container.Container._generate_iter_methods()" alt="" coords="137,199,583,231"/>
<area shape="rect" href="pybindgen.container.Container-class.html#generate_forward_declarations" title="container.Container.generate_forward_declarations()" alt="" coords="107,255,613,287"/>
<area shape="rect" href="pybindgen.container.IterNextWrapper-class.html#generate" title="container.IterNextWrapper.generate()" alt="" coords="176,311,544,343"/>
<area shape="rect" href="pybindgen.converter_functions.CToPythonConverter-class.html#generate" title="converter_functions.CToPythonConverter.generate()" alt="" coords="108,367,612,399"/>
<area shape="rect" href="pybindgen.converter_functions.PythonToCConverter-class.html#generate" title="converter_functions.PythonToCConverter.generate()" alt="" coords="108,423,612,455"/>
<area shape="rect" href="pybindgen.cppattribute.CppInstanceAttributeGetter-class.html#generate" title="cppattribute.CppInstanceAttributeGetter.generate()" alt="" coords="111,479,609,511"/>
<area shape="rect" href="pybindgen.cppattribute.CppInstanceAttributeSetter-class.html#generate" title="cppattribute.CppInstanceAttributeSetter.generate()" alt="" coords="112,535,608,567"/>
<area shape="rect" href="pybindgen.cppattribute.CppStaticAttributeGetter-class.html#generate" title="cppattribute.CppStaticAttributeGetter.generate()" alt="" coords="123,591,597,623"/>
<area shape="rect" href="pybindgen.cppattribute.CppStaticAttributeSetter-class.html#generate" title="cppattribute.CppStaticAttributeSetter.generate()" alt="" coords="124,647,596,679"/>
<area shape="rect" href="pybindgen.cppattribute.PyGetSetDef-class.html#generate" title="cppattribute.PyGetSetDef.generate()" alt="" coords="179,703,541,735"/>
<area shape="rect" href="pybindgen.cppattribute.PyMetaclass-class.html#generate" title="cppattribute.PyMetaclass.generate()" alt="" coords="183,759,537,791"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_constructor" title="cppclass.CppClass._generate_constructor()" alt="" coords="155,815,565,847"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_copy_method" title="cppclass.CppClass._generate_copy_method()" alt="" coords="147,871,573,903"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_destructor" title="cppclass.CppClass._generate_destructor()" alt="" coords="160,927,560,959"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_gc_methods" title="cppclass.CppClass._generate_gc_methods()" alt="" coords="152,983,568,1015"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_methods" title="cppclass.CppClass._generate_methods()" alt="" coords="168,1039,552,1071"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_str" title="cppclass.CppClass._generate_str()" alt="" coords="195,1095,525,1127"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_tp_richcompare" title="cppclass.CppClass._generate_tp_richcompare()" alt="" coords="136,1151,584,1183"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_generate_typeid_map" title="cppclass.CppClass._generate_typeid_map()" alt="" coords="155,1207,565,1239"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#generate" title="cppclass.CppClass.generate()" alt="" coords="217,1263,503,1295"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#generate_forward_declarations" title="cppclass.CppClass.generate_forward_declarations()" alt="" coords="116,1319,604,1351"/>
<area shape="rect" href="pybindgen.cppclass.CppHelperClass-class.html#generate" title="cppclass.CppHelperClass.generate()" alt="" coords="187,1375,533,1407"/>
<area shape="rect" href="pybindgen.cppmethod.CppConstructor-class.html#generate" title="cppmethod.CppConstructor.generate()" alt="" coords="173,1431,547,1463"/>
<area shape="rect" href="pybindgen.cppmethod.CppNoConstructor-class.html#generate" title="cppmethod.CppNoConstructor.generate()" alt="" coords="161,1487,559,1519"/>
<area shape="rect" href="pybindgen.cppmethod.CustomCppMethodWrapper-class.html#generate" title="cppmethod.CustomCppMethodWrapper.generate()" alt="" coords="119,1543,601,1575"/>
<area shape="rect" href="pybindgen.function.CustomFunctionWrapper-class.html#generate" title="function.CustomFunctionWrapper.generate()" alt="" coords="144,1599,576,1631"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_register_container" title="gccxmlparser.ModuleParser._register_container()" alt="" coords="128,1655,592,1687"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_class_methods" title="gccxmlparser.ModuleParser._scan_class_methods()" alt="" coords="120,1711,600,1743"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_functions" title="gccxmlparser.ModuleParser._scan_namespace_functions()" alt="" coords="88,1767,632,1799"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#_scan_namespace_types" title="gccxmlparser.ModuleParser._scan_namespace_types()" alt="" coords="105,1823,615,1855"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#parse_finalize" title="gccxmlparser.ModuleParser.parse_finalize()" alt="" coords="153,1879,567,1911"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#parse_init" title="gccxmlparser.ModuleParser.parse_init()" alt="" coords="172,1935,548,1967"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#scan_functions" title="gccxmlparser.ModuleParser.scan_functions()" alt="" coords="149,1991,571,2023"/>
<area shape="rect" href="pybindgen.gccxmlparser.ModuleParser-class.html#scan_methods" title="gccxmlparser.ModuleParser.scan_methods()" alt="" coords="152,2047,568,2079"/>
<area shape="rect" href="pybindgen.module.Module-class.html#generate_c_to_python_type_converter" title="module.Module.generate_c_to_python_type_converter()" alt="" coords="92,2103,628,2135"/>
<area shape="rect" href="pybindgen.module.Module-class.html#generate_python_to_c_type_converter" title="module.Module.generate_python_to_c_type_converter()" alt="" coords="92,2159,628,2191"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#do_generate" title="module.ModuleBase.do_generate()" alt="" coords="191,2215,529,2247"/>
<area shape="rect" href="pybindgen.module.ModuleBase-class.html#generate_forward_declarations" title="module.ModuleBase.generate_forward_declarations()" alt="" coords="105,2271,615,2303"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate" title="overloading.OverloadedWrapper.generate()" alt="" coords="151,2327,569,2359"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate_declaration" title="overloading.OverloadedWrapper.generate_declaration()" alt="" coords="95,2383,625,2415"/>
<area shape="rect" href="pybindgen.pytypeobject.PyNumberMethods-class.html#generate" title="pytypeobject.PyNumberMethods.generate()" alt="" coords="149,2439,571,2471"/>
<area shape="rect" href="pybindgen.pytypeobject.PySequenceMethods-class.html#generate" title="pytypeobject.PySequenceMethods.generate()" alt="" coords="141,2495,579,2527"/>
<area shape="rect" href="pybindgen.pytypeobject.PyTypeObject-class.html#generate" title="pytypeobject.PyTypeObject.generate()" alt="" coords="175,2551,545,2583"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_close_wrapper" title="base.ForwardWrapperBase.write_close_wrapper()" alt="" coords="120,2607,600,2639"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_open_wrapper" title="base.ForwardWrapperBase.write_open_wrapper()" alt="" coords="120,2663,600,2695"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="base.ReverseWrapperBase.generate()" alt="" coords="176,2719,544,2751"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#_format_code" title="CodeSink._format_code()" alt="" coords="912,1487,1163,1519"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#flush_to" title="MemoryCodeSink.flush_to()" alt="" coords="223,2775,497,2807"/>
<area shape="rect" href="pybindgen.utils-module.html#write_preamble" title="utils.write_preamble()" alt="" coords="248,2831,472,2863"/>
<area shape="rect" href="pybindgen.wrapper_registry.StdMapWrapperRegistry-class.html#generate" title="wrapper_registry.StdMapWrapperRegistry.generate()" alt="" coords="108,2887,612,2919"/>
<area shape="rect" href="pybindgen.wrapper_registry.StdMapWrapperRegistry-class.html#generate_forward_declarations" title="wrapper_registry.StdMapWrapperRegistry.generate_forward_declarations()" alt="" coords="7,2943,713,2975"/>
</map>
  <img src="call_graph_for_writeln_2.gif" alt='' usemap="#call_graph_for_writeln_2" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Write one or more lines of code</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="pybindgen.typehandlers.codesink.CodeSink-class.html#writeln">CodeSink.writeln</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jul 12 17:23:34 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
